/* File Info 
 * Author:      cknight 
 * CreateTime:  2021/1/20 下午1:18:52 
 * LastEditor:  cknight 
 * ModifyTime:  2021/1/25 下午1:17:38 
 * Description: 监听群聊退群
 */

async function onRoomLeave(room, leaverList) {
    const nameList = leaverList.map(c => c.name()).join(",");
    console.log(`Room ${room.topic()} lost member ${nameList}`);
}

module.exports = onRoomLeave;